namespace Universal.Application.Contracts.Jwt;

/// <summary>
/// JWT 令牌服务
/// </summary>
public interface IJwtTokenService
{
    /// <summary>
    /// 生成 JWT 令牌
    /// </summary>
    /// <param name="userId">用户 ID</param>
    /// <param name="username">用户名</param>
    /// <returns>JWT 令牌</returns>
    string GenerateToken(Guid userId, string username, int? expireMinutes = null);

}